package com.Example.Model.SupplyType;

import com.alibaba.fastjson.annotation.JSONField;

import java.util.Map;

public class IPTSignShare {
    @JSONField(ordinal = 1)
    private String account_sale;
    @JSONField(ordinal = 2)
    private String product_id;
    @JSONField(ordinal = 3)
    private String account_remain;
    @JSONField(ordinal = 4)
    private Map<String,ShareRatio[]> tpl_param;

    public IPTSignShare(String account_sale, String product_id, String account_remain, Map<String,ShareRatio[]> tpl_param) {
        this.account_sale = account_sale;
        this.product_id = product_id;
        this.account_remain = account_remain;
        this.tpl_param = tpl_param;
    }

    public String getAccount_sale() {
        return account_sale;
    }

    public void setAccount_sale(String account_sale) {
        this.account_sale = account_sale;
    }

    public String getProduct_id() {
        return product_id;
    }

    public void setProduct_id(String product_id) {
        this.product_id = product_id;
    }

    public String getAccount_remain() {
        return account_remain;
    }

    public void setAccount_remain(String account_remain) {
        this.account_remain = account_remain;
    }

    public Map<String, ShareRatio[]> getTpl_param() {
        return tpl_param;
    }

    public void setTpl_param(Map<String, ShareRatio[]> tpl_param) {
        this.tpl_param = tpl_param;
    }

    @Override
    public String toString() {
        return "IPTSignShare{" +
                "account_sale='" + account_sale + '\'' +
                ", product_id='" + product_id + '\'' +
                ", account_remain='" + account_remain + '\'' +
                ", tpl_param=" + tpl_param +
                '}';
    }

}
